﻿@model KL.Store.Web.Models.PropertyModel
@using KL.Store.Core
@{
    Layout = null;
}
@if (Model.Property.Count > 0)
{
    foreach (var item in Model.Property)
    {
        if (string.IsNullOrEmpty(item.Bilgi))
        {
            continue;
        }
    <li>
        <input type="checkbox" name="@(Utils.SefText(item.Aciklama))" value="@(Utils.SefText(item.Bilgi))" id="property_id_@(Model.siralama)__this__@(Utils.SefText(item.Bilgi))" class="property-selection property-selection-@(Model.siralama)" @{if (Model.SelectedProperties.Contains(Utils.SefText(item.Aciklama) + "-_-" + Utils.SefText(item.Bilgi)))
                                                                                                                                                                                                                                                    {<text>checked="checked"</text>}} />
        <label for="property_id_@(Model.siralama)__this__@(Utils.SefText(item.Bilgi))">@(item.Bilgi)</label>
    </li>
    }
}